send JSON data for GET request #958
Unanswered
nullspace-dev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an API that I need to send JSON data within a GET request like this in cURL:
curl -XGET "http://localhost:9200/movies/_search" -H 'Content-Type: application/json' -d'
{
"query": {
"match": {
"text_entry": "I am the night"
}
}
}'
But I'm unsure how to accomplish this. I can confirm this works and in postman I send it as a raw body just as it is in JSON format. How do I accomplish the same using infinity?
Beta Was this translation helpful? Give feedback.
All reactions