TextAnalysis

FREEMIUM
Door TextMiner | Bijgewerkt 25 days ago | Tools
Populariteit

9 / 10

Latency

297ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

single quoted JSON input gets rejected by the server

Rapid account: Ahmadnassri
ahmadnassri
9 years ago

you server fails with an obscure message when sending JSON data that is single quoted:

{ text: 'Yo mamma' }

but works fine when calling with double quoted object:

{ text: "Yo mamma" }

this is ironic since you are returning single quoted JSON objects in your responses ā€¦

can you please fix so your server accepts BOTH single and double quoted JSON strings.

Rapid account: Textanalysis
textanalysis Commented 9 years ago

I have change the json request to form request and resolve the problem, thanks.

Rapid account: Textanalysis
textanalysis Commented 9 years ago

Thanks for reminding me this problem, Iā€™m also confused cause this never happened before. I will fix it as far as possible. Thanks a lot!

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen