This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF: add sign '+' is not being transmitted when using Content-Type:application/x-www-form-urlencoded;charset=UTF-8 in POST request

We are working with CC3220 custom board for an iot based project, recently we have introduced an encrytion method for credentials sharing mecahnism with the server.

The problem we are facing is when we make a POST request and there is a “+” sign in the request the server receives “ ” (space) instead.

For example when we transmit " /*-/+" the server receives "/*-/ "

However when we make the same request with POSTMAN the server receives correct string.

In our device we are currently using the Content type as “application/x-www-form-urlencoded;charset=UTF-8” but if we update this to “application/json;charset=UTF-8” server starts accepting the “+” sign as intended.

Regards

Hamza Jamil