After days of trying and reading everything I can find, these are my results so far...
I thought the oauth_signature was generated BY the request not as an input...obviously not by this result!
Input ( see api_test_1.png)
{
"status":400,
"uri":"http://api.yelp.com/v2/search",
"response":{
"error":{
"text":"One or more parameters are missing in request",
"id":"MISSING_PARAMETER",
"field":"oauth_signature"
}
}
}
I don't know what code to add to the oauth_signature parameter, I did read that I needed to concatenate the result of HMAC-SHA1 and the oauth_token_secret key but I don't know how to do that, even if that made sense!
Below I tried to use the oauth_token_secret key on it's own...
Input ( see api_test_2.png)
{
"status":400,
"uri":"http://api.yelp.com/v2/search",
"response":{
"error":{
"text":"Signature was invalid",
"id":"INVALID_SIGNATURE",
"description":"Invalid signature. Expected signature base string: GET&http%3A%2F%2Fapi.yelp.com%2Fv2%2Fsearch&location%3Dlondon%26oauth_consumer_key%3DOXXXXXXXX-JDn2CADA%26oauth_nonce%3DsaXXXXXXXXXhu7%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1485532322%26oauth_token%3DBXXXXXXXXXA6Zezz9gXXXXXXXgJp9Sto%26term%3Dlawyer"
}
}
}