Geocoding - cURL approachHow to send a header using a HTTP request through a curl call?How can I see the request headers made by curl when sending a request to the server?Using cURL with a username and password?How to display request headers with command line curltrouble understanding cURLHow do I POST JSON data with Curl from a terminal/commandline to Test Spring REST?How do I install and use curl on Windows?does php-curl support 'PATCH'?using curl with phpPerform HTTP Get with curl inside a page
Open a doc from terminal, but not by its name
Why Shazam when there is already Superman?
L1 and Ln cache: when are they written?
Redundant comparison & "if" before assignment
Start making guitar arrangements
Is this toilet slogan correct usage of the English language?
If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?
How to implement a feedback to keep the DC gain at zero for this conceptual passive filter?
Why did the Mercure fail?
What does routing an IP address mean?
How can I block email signup overlays or javascript popups in Safari?
Freedom of speech and where it applies
"Spoil" vs "Ruin"
If infinitesimal transformations commute why dont the generators of the Lorentz group commute?
What was this official D&D 3.5e Lovecraft-flavored rulebook?
How to explain what's wrong with this application of the chain rule?
Melting point of aspirin, contradicting sources
Symbol used to indicate indivisibility
Fear of getting stuck on one programming language / technology that is not used in my country
Is it safe to use olive oil to clean the ear wax?
How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?
Travelling outside the UK without a passport
What percentage of fillings performed today are done with mercury amalgam?
Did Swami Prabhupada reject Advaita?
Geocoding - cURL approach
How to send a header using a HTTP request through a curl call?How can I see the request headers made by curl when sending a request to the server?Using cURL with a username and password?How to display request headers with command line curltrouble understanding cURLHow do I POST JSON data with Curl from a terminal/commandline to Test Spring REST?How do I install and use curl on Windows?does php-curl support 'PATCH'?using curl with phpPerform HTTP Get with curl inside a page
I didn't get successfully response with cURL example:
curl -X GET https://geocoder.api.here.com/6.2/geocode.json?app_id=<APP-ID-HERE>&app_code=<APP-CODE-HERE>&searchtext=Tracy+CA
Error: >& was unexpected at this time.
I use credentials for JavaScript/REST.
Also I tried in Web Browser Address Bar:
https://geocoder.api.here.com/6.2/geocode.json?app_id=<APP-ID-HERE>&app_code=<APP-CODE-HERE>&searchtext=Tracy+CA
And I got: invalid credentials for APP-ID-HERE
I would appreciate if someone can help me:)
curl
New contributor
add a comment |
I didn't get successfully response with cURL example:
curl -X GET https://geocoder.api.here.com/6.2/geocode.json?app_id=<APP-ID-HERE>&app_code=<APP-CODE-HERE>&searchtext=Tracy+CA
Error: >& was unexpected at this time.
I use credentials for JavaScript/REST.
Also I tried in Web Browser Address Bar:
https://geocoder.api.here.com/6.2/geocode.json?app_id=<APP-ID-HERE>&app_code=<APP-CODE-HERE>&searchtext=Tracy+CA
And I got: invalid credentials for APP-ID-HERE
I would appreciate if someone can help me:)
curl
New contributor
add a comment |
I didn't get successfully response with cURL example:
curl -X GET https://geocoder.api.here.com/6.2/geocode.json?app_id=<APP-ID-HERE>&app_code=<APP-CODE-HERE>&searchtext=Tracy+CA
Error: >& was unexpected at this time.
I use credentials for JavaScript/REST.
Also I tried in Web Browser Address Bar:
https://geocoder.api.here.com/6.2/geocode.json?app_id=<APP-ID-HERE>&app_code=<APP-CODE-HERE>&searchtext=Tracy+CA
And I got: invalid credentials for APP-ID-HERE
I would appreciate if someone can help me:)
curl
New contributor
I didn't get successfully response with cURL example:
curl -X GET https://geocoder.api.here.com/6.2/geocode.json?app_id=<APP-ID-HERE>&app_code=<APP-CODE-HERE>&searchtext=Tracy+CA
Error: >& was unexpected at this time.
I use credentials for JavaScript/REST.
Also I tried in Web Browser Address Bar:
https://geocoder.api.here.com/6.2/geocode.json?app_id=<APP-ID-HERE>&app_code=<APP-CODE-HERE>&searchtext=Tracy+CA
And I got: invalid credentials for APP-ID-HERE
I would appreciate if someone can help me:)
curl
curl
New contributor
New contributor
edited yesterday
Fizko
New contributor
asked 2 days ago
FizkoFizko
12
12
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Solved :)
app_id=APP-ID-HERE &app_code= APP-CODE-HERE
should be inserted in double quotes like that:
--data-urlencode "app_id=APP-ID-HERE" --data-urlencode "app_code=APP-CODE-HERE" --data-urlencode
I hope will help for newbies:)
New contributor
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Fizko is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281200%2fgeocoding-curl-approach%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Solved :)
app_id=APP-ID-HERE &app_code= APP-CODE-HERE
should be inserted in double quotes like that:
--data-urlencode "app_id=APP-ID-HERE" --data-urlencode "app_code=APP-CODE-HERE" --data-urlencode
I hope will help for newbies:)
New contributor
add a comment |
Solved :)
app_id=APP-ID-HERE &app_code= APP-CODE-HERE
should be inserted in double quotes like that:
--data-urlencode "app_id=APP-ID-HERE" --data-urlencode "app_code=APP-CODE-HERE" --data-urlencode
I hope will help for newbies:)
New contributor
add a comment |
Solved :)
app_id=APP-ID-HERE &app_code= APP-CODE-HERE
should be inserted in double quotes like that:
--data-urlencode "app_id=APP-ID-HERE" --data-urlencode "app_code=APP-CODE-HERE" --data-urlencode
I hope will help for newbies:)
New contributor
Solved :)
app_id=APP-ID-HERE &app_code= APP-CODE-HERE
should be inserted in double quotes like that:
--data-urlencode "app_id=APP-ID-HERE" --data-urlencode "app_code=APP-CODE-HERE" --data-urlencode
I hope will help for newbies:)
New contributor
New contributor
answered yesterday
FizkoFizko
12
12
New contributor
New contributor
add a comment |
add a comment |
Fizko is a new contributor. Be nice, and check out our Code of Conduct.
Fizko is a new contributor. Be nice, and check out our Code of Conduct.
Fizko is a new contributor. Be nice, and check out our Code of Conduct.
Fizko is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281200%2fgeocoding-curl-approach%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown