Issue in fragmentation of JSON Data

Hamid Kaashif via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
Hello there,
I have an issue when I try to fragment data in json input.

Here’s the scenario:
The following request works. I got a valid JSON output.

curl 'https://api-prod.grep.events/1/container/5342/thing/user_id/mutual/scan'  -H 'Authorization: Bearer geKkBJw8a1zhag38euv4GS75tIOWcT4'  -H 'X-Authorization: 5d85018f-7d08-45d9-897c-a0506dcda28c'  -H 'Content-Type: application/json' --data '{"scan_id":["29121227092920"]}'


I tried fragmenting scan_id, however, got an error message (fragmented request below)

curl 'https://api-prod.grep.events/1/container/5342/thing/user_id/mutual/scan' -H 'Authorization: Bearer geKkBJw8a1zhag38euv4GS75tIOWcT4' -H 'X-Authorization: 5d85018f-7d08-45d9-897c-a0506dcda28c' -H 'Content-Type: application/json' --data '{"scan_id":["29121227092[920-999]"]}'


Is there a way to resolve it? Thanks!

(For security reasons Modified contents on both request)




---
Sent from  Workspace ONE Boxer

-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.