Entitizer

FREEMIUM
By mitica | Updated il y a 15 jours | Data
Health Check

N/A

Back to All Discussions

Internal Server Error when trying curl

Rapid account: Laurelindorinen
Laurelindorinen
il y a 8 ans

I tried making a request as documentation tab “curl” section suggested and got Internal Server Error response
Here is my request:

curl -X POST --include ‘https://entitizer.p.mashape.com/entitize’ -H ‘X-Mashape-Key: “my_mashap_key”’ -H ‘Content-Type: application/x-www-form-urlencoded’ -H ‘Accept: application/json’ -d ‘country=ru’ -d ‘lang=ru’ -d ‘text=??? ??? ???’

And there is a response:

TP/1.1 500 Internal Server Error
Content-Type: application/json
Date: Thu, 29 Sep 2016 13:16:41 GMT
Server: Mashape/5.0.6
X-RateLimit-requests-Limit: 1000
X-RateLimit-requests-Remaining: 997
Content-Length: 50
Connection: keep-alive

{“message”:“Object #<Object> has no method ‘map’”}

I also tried an example for .NET , but it also didn’t work.
What can I do to get a proper response?

Join in the discussion - add comment below:

Login / Signup to post new comments