1

I am obviously lacking some skills with the HTTP requests, yet I have to implement it into GeoEventServer (GES). The request with cURL is pretty simple, and does not require authentication:

curl -X POST https://<api-url>/search -d {} -H 'Content-Type: application/json;charset=utf-8'

It works fine in a command, and outputs a JSON string.

However, no output is created in GES: Screenshot GES Service

What am I missing?

1

OK, found a solution. With a configuration like this, it seems to work:

Solution

Apparently an empty payload has to be send, and the accepted MIME types need to be defined. No other changes were made.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.