Okay. I get an error message. New lesson for me. The error seems to point to my suspect. I am not passing correctly the parameters...

HTTP/1.1 401 Access Denied Date: Mon, 21 Nov 2016 18:16:11 GMT WWW-Authenticate: AzureApiManagementKey realm="https://api.cognitive.m +icrosoft.com/bing/v5.0",name="Ocp-Apim-Subscription-Key",type="header +" Content-Length: 152 Content-Type: application/json Apim-Request-Id: a4599b0f-4402-46cd-9f3d-2d1e0f1f0199 Client-Date: Mon, 21 Nov 2016 18:16:12 GMT Client-Peer: 52.174.60.141:443 Client-Response-Num: 1 Client-SSL-Cert-Issuer: /C=US/ST=Washington/L=Redmond/O=Microsoft Corp +oration/OU=Microsoft IT/CN=Microsoft IT SSL SHA2 Client-SSL-Cert-Subject: /CN=api.cognitive.microsoft.com Client-SSL-Cipher: ECDHE-RSA-AES256-SHA384 Client-SSL-Socket-Class: IO::Socket::SSL Client-Warning: Unsupported authentication scheme 'azureapimanagementk +ey' Strict-Transport-Security: max-age=31536000; includeSubDomains; preloa +d { "statusCode": 401, "message": "Access denied due to missing subscrip +tion key. Make sure to include subscription key when making requests +to an API." }

In reply to Re^4: New Bing Search Api (5) by Anonymous Monk
in thread New Bing Search Api (5) by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.