Skip to content

Commit

Permalink
Fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
Florents-Tselai committed Jan 2, 2021
1 parent c2eafbf commit fb022dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ For such cases you can set the `CURLOPT_USERAGENT` option
SELECT http_set_curlopt('CURLOPT_USERAGENT',
'Examplebot/2.1 (+http://www.example.com/bot.html) Contact [email protected]');

SELECT content::json ->> 'user-agent' FROM http_get('http://httpbin.org/user-agent');
SELECT status, content::json ->> 'user-agent' FROM http_get('http://httpbin.org/user-agent');
```
```
status | user_agent
Expand Down

0 comments on commit fb022dd

Please sign in to comment.