“Accept” header in HTTP request for DOI Content NegotiationHeader and footer banners in Slide Show styleUsing GatherBy with a DataSet's header designation instead of FirstHow to place a Tagging Rule in the Page HeaderHTTP Status Code 403Why POST be replaced by GET in HTTP request?APIFunction can not access HTTP request body when used with URLDispatcherWho is to blame: parsing UTF8 encoded JSON HTTPResponse failsURLRead ignores content-encoding:gzip headerAPI HTTP Request Signing using base64 encoding/decoding and HMAC (Cryptocurrencies Exchange, GDAX)How to get URL request response in Mathematica?

Why does Hellboy file down his horns?

When did the Roman Empire fall according to contemporaries?

Why did the Japanese attack the Aleutians at the same time as Midway?

Where is the USB2 OTG port on the RPi 4 Model B located?

Can I play a first turn Simic Growth Chamber to have 3 mana available in the second turn?

Dropping outliers based on "2.5 times the RMSE"

Why does resistance reduce when a conductive fabric is stretched?

Is an acid a salt or not?

Are neural networks prone to catastrophic forgetting?

Returning the argument of a function if the argument is not of the right type

Why did my rum cake turn black?

Trying to find a flaw in my proof that there are more rearrangements of an infinite series than real numbers

Password maker in c#

Is there a way to perform "if" check only once instead of every iteration in a loop?

How do Windows version numbers work?

Why are Hobbits so fond of mushrooms?

<schwitz>, <zwinker> etc. Does German always use 2nd Person Singular Imperative verbs for emoticons? If so, why?

Referring to different instances of the same character in time travel

QGIS Welcome page: What is 'pin to list' for?

Supporting developers who insist on using their pet language

"A killed B" translation

Extract an attribute value from XML

What is the difference between logical consistency and logical entailment in deductive logic?

Am I testing diodes properly?



“Accept” header in HTTP request for DOI Content Negotiation


Header and footer banners in Slide Show styleUsing GatherBy with a DataSet's header designation instead of FirstHow to place a Tagging Rule in the Page HeaderHTTP Status Code 403Why POST be replaced by GET in HTTP request?APIFunction can not access HTTP request body when used with URLDispatcherWho is to blame: parsing UTF8 encoded JSON HTTPResponse failsURLRead ignores content-encoding:gzip headerAPI HTTP Request Signing using base64 encoding/decoding and HMAC (Cryptocurrencies Exchange, GDAX)How to get URL request response in Mathematica?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3












$begingroup$


I am trying to get the .bib info from a DOI, following the guide here.



Basically, I wish to run



curl -LH "Accept: application/x-bibtex" http://dx.doi.org/10.1016/j.algal.2015.04.001


to define an "Accept" header with content "application/x-bibtex".



With Mathematica. I try



 URLRead[HTTPRequest[URL["https://doi.org/10.1007/s00209-015-1612-7"],
<| "Method" -> "GET",
"Headers" -> "Accept: application/x-bibtex",
"ContentType" -> "application/x-bibtex"|>]]


but this fails, with error message




"Message text not found -- (Accept: application/x-bibtex"




The output I expect is a string, with the contents:



@article{Kouhia_2015,
doi = 10.1016/j.algal.2015.04.001,
url = http://dx.doi.org/10.1016/j.algal.2015.04.001,
year = 2015,
month = jul,
publisher = Elsevier BV,
volume = 10,
pages = 41--47,
author = Mikko Kouhia and Henrik Holmberg and Pekka Ahtila,
title = Microalgae-utilizing biorefinery concept for pulp and paper industry: Converting secondary streams into value-added products,
journal = Algal Research


EDIT: I also want this to work with other journals. curl can handle that as well, as there seem to be a standard to request this particular format.



curl -LH "Accept: application/x-bibtex" https://doi.org/10.1090/s0002-9947-96-01558-9









share|improve this question











$endgroup$


















    3












    $begingroup$


    I am trying to get the .bib info from a DOI, following the guide here.



    Basically, I wish to run



    curl -LH "Accept: application/x-bibtex" http://dx.doi.org/10.1016/j.algal.2015.04.001


    to define an "Accept" header with content "application/x-bibtex".



    With Mathematica. I try



     URLRead[HTTPRequest[URL["https://doi.org/10.1007/s00209-015-1612-7"],
    <| "Method" -> "GET",
    "Headers" -> "Accept: application/x-bibtex",
    "ContentType" -> "application/x-bibtex"|>]]


    but this fails, with error message




    "Message text not found -- (Accept: application/x-bibtex"




    The output I expect is a string, with the contents:



    @article{Kouhia_2015,
    doi = 10.1016/j.algal.2015.04.001,
    url = http://dx.doi.org/10.1016/j.algal.2015.04.001,
    year = 2015,
    month = jul,
    publisher = Elsevier BV,
    volume = 10,
    pages = 41--47,
    author = Mikko Kouhia and Henrik Holmberg and Pekka Ahtila,
    title = Microalgae-utilizing biorefinery concept for pulp and paper industry: Converting secondary streams into value-added products,
    journal = Algal Research


    EDIT: I also want this to work with other journals. curl can handle that as well, as there seem to be a standard to request this particular format.



    curl -LH "Accept: application/x-bibtex" https://doi.org/10.1090/s0002-9947-96-01558-9









    share|improve this question











    $endgroup$














      3












      3








      3


      0



      $begingroup$


      I am trying to get the .bib info from a DOI, following the guide here.



      Basically, I wish to run



      curl -LH "Accept: application/x-bibtex" http://dx.doi.org/10.1016/j.algal.2015.04.001


      to define an "Accept" header with content "application/x-bibtex".



      With Mathematica. I try



       URLRead[HTTPRequest[URL["https://doi.org/10.1007/s00209-015-1612-7"],
      <| "Method" -> "GET",
      "Headers" -> "Accept: application/x-bibtex",
      "ContentType" -> "application/x-bibtex"|>]]


      but this fails, with error message




      "Message text not found -- (Accept: application/x-bibtex"




      The output I expect is a string, with the contents:



      @article{Kouhia_2015,
      doi = 10.1016/j.algal.2015.04.001,
      url = http://dx.doi.org/10.1016/j.algal.2015.04.001,
      year = 2015,
      month = jul,
      publisher = Elsevier BV,
      volume = 10,
      pages = 41--47,
      author = Mikko Kouhia and Henrik Holmberg and Pekka Ahtila,
      title = Microalgae-utilizing biorefinery concept for pulp and paper industry: Converting secondary streams into value-added products,
      journal = Algal Research


      EDIT: I also want this to work with other journals. curl can handle that as well, as there seem to be a standard to request this particular format.



      curl -LH "Accept: application/x-bibtex" https://doi.org/10.1090/s0002-9947-96-01558-9









      share|improve this question











      $endgroup$




      I am trying to get the .bib info from a DOI, following the guide here.



      Basically, I wish to run



      curl -LH "Accept: application/x-bibtex" http://dx.doi.org/10.1016/j.algal.2015.04.001


      to define an "Accept" header with content "application/x-bibtex".



      With Mathematica. I try



       URLRead[HTTPRequest[URL["https://doi.org/10.1007/s00209-015-1612-7"],
      <| "Method" -> "GET",
      "Headers" -> "Accept: application/x-bibtex",
      "ContentType" -> "application/x-bibtex"|>]]


      but this fails, with error message




      "Message text not found -- (Accept: application/x-bibtex"




      The output I expect is a string, with the contents:



      @article{Kouhia_2015,
      doi = 10.1016/j.algal.2015.04.001,
      url = http://dx.doi.org/10.1016/j.algal.2015.04.001,
      year = 2015,
      month = jul,
      publisher = Elsevier BV,
      volume = 10,
      pages = 41--47,
      author = Mikko Kouhia and Henrik Holmberg and Pekka Ahtila,
      title = Microalgae-utilizing biorefinery concept for pulp and paper industry: Converting secondary streams into value-added products,
      journal = Algal Research


      EDIT: I also want this to work with other journals. curl can handle that as well, as there seem to be a standard to request this particular format.



      curl -LH "Accept: application/x-bibtex" https://doi.org/10.1090/s0002-9947-96-01558-9






      web-access headers http-functions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 4 at 14:06









      rhermans

      22.8k4 gold badges42 silver badges107 bronze badges




      22.8k4 gold badges42 silver badges107 bronze badges










      asked Jul 4 at 11:42









      Per AlexanderssonPer Alexandersson

      1,40410 silver badges17 bronze badges




      1,40410 silver badges17 bronze badges




















          2 Answers
          2






          active

          oldest

          votes


















          4












          $begingroup$

          It seems you are trying to profit from DOI Content Negotiation described here.




          Content negotiation allows a user to request a particular
          representation of a web resource. DOI resolvers use content
          negotiation to provide different representations of metadata
          associated with DOIs.



          A content negotiated request to a DOI resolver is much like a standard
          HTTP request, except server-driven negotiation will take place based
          on the list of acceptable content types a client provides.



          Making a content negotiated request requires the use of a HTTP header, "Accept".




          After @Kuba's comment this works



          With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
          URLRead[
          HTTPRequest[
          url
          , <|
          "Method" -> "GET",
          "Headers" -> "Accept" -> "application/x-bibtex"
          |>
          ]
          , "Body"
          ]
          ]


          Mathematica graphics



          Other content formats defined by crosscite.org are:




          "RDF XML" -> "application/rdf+xml",
          "RDF Turtle" -> "text/turtle",
          "Citeproc JSON " -> "application/vnd.citationstyles.csl+json",
          "Schema.org in JSON-LD " -> "application/vnd.schemaorg.ld+json",
          "Formatted text citation " -> "text/x-bibliography",
          "RIS " -> "application/x-research-info-systems",
          "BibTeX " -> "application/x-bibtex",
          "CrossRef Unixref XML " -> "application/vnd.crossref.unixref+xml",
          "DataCite XML " -> "application/vnd.datacite.datacite+xml",
          "ONIX for DOI " -> "application/vnd.medra.onixdoi+xml"







          I wasn't aware of that capability, so my first approach (A bit convoluted) was to parse the HTML of the journal website.

          With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
          Import[
          Echo@StringJoin[
          "https:",
          First@Select[
          ImportString[
          URLRead[HTTPRequest[url], "Body"]
          , "HTML", "Hyperlinks"
          ], StringContainsQ[#, "format=bibtex"] &, 1]]
          , "String"
          ]
          ]


          This obviously will only work when the DOI link redirects to a journal website with a particular link structure. Notice that the BibTeX content is different.



          Mathematica graphics






          share|improve this answer











          $endgroup$




















            2












            $begingroup$

            request = 
            HTTPRequest[
            URL["https://doi.org/10.1007/s00209-015-1612-7"], <|
            "Method" -> "GET",
            "Headers" -> "Accept" -> "application/x-bibtex",
            "ContentType" -> "application/x-bibtex"|>];

            URLRead[request, "Body"]

            (*
            @articleBlasiak_2016,
            doi = 10.1007/s00209-015-1612-7,
            url = https://doi.org/10.1007%2Fs00209-015-1612-7,
            year = 2016,
            month = jan,
            publisher = Springer Science and Business Media LLC,
            volume = 283,
            number = 1-2,
            pages = 601--628,
            author = Jonah Blasiak,
            title = Haglund's conjecture on 3-column Macdonald polynomials,
            journal = Mathematische Zeitschrift

            *)

            request =
            HTTPRequest[
            URL["https://doi.org/10.1090/s0002-9947-96-01558-9"], <|
            "Method" -> "GET",
            "Headers" -> "Accept" -> "application/x-bibtex",
            "ContentType" -> "application/x-bibtex"|>];

            URLRead[request, "Body"]
            (*
            @articleFomin_1996,
            doi = 10.1090/s0002-9947-96-01558-9,
            url = https://doi.org/10.1090%2Fs0002-9947-96-01558-9,
            year = 1996,
            month = sep,
            publisher = American Mathematical Society (AMS),
            volume = 348,
            number = 09,
            pages = 3591--3621,
            author = Sergey Fomin and Anatol N. Kirillov,
            journal = Transactions of the American Mathematical Society

            * )





            share|improve this answer









            $endgroup$















              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "387"
              ;
              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: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201541%2faccept-header-in-http-request-for-doi-content-negotiation%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4












              $begingroup$

              It seems you are trying to profit from DOI Content Negotiation described here.




              Content negotiation allows a user to request a particular
              representation of a web resource. DOI resolvers use content
              negotiation to provide different representations of metadata
              associated with DOIs.



              A content negotiated request to a DOI resolver is much like a standard
              HTTP request, except server-driven negotiation will take place based
              on the list of acceptable content types a client provides.



              Making a content negotiated request requires the use of a HTTP header, "Accept".




              After @Kuba's comment this works



              With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
              URLRead[
              HTTPRequest[
              url
              , <|
              "Method" -> "GET",
              "Headers" -> "Accept" -> "application/x-bibtex"
              |>
              ]
              , "Body"
              ]
              ]


              Mathematica graphics



              Other content formats defined by crosscite.org are:




              "RDF XML" -> "application/rdf+xml",
              "RDF Turtle" -> "text/turtle",
              "Citeproc JSON " -> "application/vnd.citationstyles.csl+json",
              "Schema.org in JSON-LD " -> "application/vnd.schemaorg.ld+json",
              "Formatted text citation " -> "text/x-bibliography",
              "RIS " -> "application/x-research-info-systems",
              "BibTeX " -> "application/x-bibtex",
              "CrossRef Unixref XML " -> "application/vnd.crossref.unixref+xml",
              "DataCite XML " -> "application/vnd.datacite.datacite+xml",
              "ONIX for DOI " -> "application/vnd.medra.onixdoi+xml"







              I wasn't aware of that capability, so my first approach (A bit convoluted) was to parse the HTML of the journal website.

              With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
              Import[
              Echo@StringJoin[
              "https:",
              First@Select[
              ImportString[
              URLRead[HTTPRequest[url], "Body"]
              , "HTML", "Hyperlinks"
              ], StringContainsQ[#, "format=bibtex"] &, 1]]
              , "String"
              ]
              ]


              This obviously will only work when the DOI link redirects to a journal website with a particular link structure. Notice that the BibTeX content is different.



              Mathematica graphics






              share|improve this answer











              $endgroup$

















                4












                $begingroup$

                It seems you are trying to profit from DOI Content Negotiation described here.




                Content negotiation allows a user to request a particular
                representation of a web resource. DOI resolvers use content
                negotiation to provide different representations of metadata
                associated with DOIs.



                A content negotiated request to a DOI resolver is much like a standard
                HTTP request, except server-driven negotiation will take place based
                on the list of acceptable content types a client provides.



                Making a content negotiated request requires the use of a HTTP header, "Accept".




                After @Kuba's comment this works



                With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
                URLRead[
                HTTPRequest[
                url
                , <|
                "Method" -> "GET",
                "Headers" -> "Accept" -> "application/x-bibtex"
                |>
                ]
                , "Body"
                ]
                ]


                Mathematica graphics



                Other content formats defined by crosscite.org are:




                "RDF XML" -> "application/rdf+xml",
                "RDF Turtle" -> "text/turtle",
                "Citeproc JSON " -> "application/vnd.citationstyles.csl+json",
                "Schema.org in JSON-LD " -> "application/vnd.schemaorg.ld+json",
                "Formatted text citation " -> "text/x-bibliography",
                "RIS " -> "application/x-research-info-systems",
                "BibTeX " -> "application/x-bibtex",
                "CrossRef Unixref XML " -> "application/vnd.crossref.unixref+xml",
                "DataCite XML " -> "application/vnd.datacite.datacite+xml",
                "ONIX for DOI " -> "application/vnd.medra.onixdoi+xml"







                I wasn't aware of that capability, so my first approach (A bit convoluted) was to parse the HTML of the journal website.

                With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
                Import[
                Echo@StringJoin[
                "https:",
                First@Select[
                ImportString[
                URLRead[HTTPRequest[url], "Body"]
                , "HTML", "Hyperlinks"
                ], StringContainsQ[#, "format=bibtex"] &, 1]]
                , "String"
                ]
                ]


                This obviously will only work when the DOI link redirects to a journal website with a particular link structure. Notice that the BibTeX content is different.



                Mathematica graphics






                share|improve this answer











                $endgroup$















                  4












                  4








                  4





                  $begingroup$

                  It seems you are trying to profit from DOI Content Negotiation described here.




                  Content negotiation allows a user to request a particular
                  representation of a web resource. DOI resolvers use content
                  negotiation to provide different representations of metadata
                  associated with DOIs.



                  A content negotiated request to a DOI resolver is much like a standard
                  HTTP request, except server-driven negotiation will take place based
                  on the list of acceptable content types a client provides.



                  Making a content negotiated request requires the use of a HTTP header, "Accept".




                  After @Kuba's comment this works



                  With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
                  URLRead[
                  HTTPRequest[
                  url
                  , <|
                  "Method" -> "GET",
                  "Headers" -> "Accept" -> "application/x-bibtex"
                  |>
                  ]
                  , "Body"
                  ]
                  ]


                  Mathematica graphics



                  Other content formats defined by crosscite.org are:




                  "RDF XML" -> "application/rdf+xml",
                  "RDF Turtle" -> "text/turtle",
                  "Citeproc JSON " -> "application/vnd.citationstyles.csl+json",
                  "Schema.org in JSON-LD " -> "application/vnd.schemaorg.ld+json",
                  "Formatted text citation " -> "text/x-bibliography",
                  "RIS " -> "application/x-research-info-systems",
                  "BibTeX " -> "application/x-bibtex",
                  "CrossRef Unixref XML " -> "application/vnd.crossref.unixref+xml",
                  "DataCite XML " -> "application/vnd.datacite.datacite+xml",
                  "ONIX for DOI " -> "application/vnd.medra.onixdoi+xml"







                  I wasn't aware of that capability, so my first approach (A bit convoluted) was to parse the HTML of the journal website.

                  With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
                  Import[
                  Echo@StringJoin[
                  "https:",
                  First@Select[
                  ImportString[
                  URLRead[HTTPRequest[url], "Body"]
                  , "HTML", "Hyperlinks"
                  ], StringContainsQ[#, "format=bibtex"] &, 1]]
                  , "String"
                  ]
                  ]


                  This obviously will only work when the DOI link redirects to a journal website with a particular link structure. Notice that the BibTeX content is different.



                  Mathematica graphics






                  share|improve this answer











                  $endgroup$



                  It seems you are trying to profit from DOI Content Negotiation described here.




                  Content negotiation allows a user to request a particular
                  representation of a web resource. DOI resolvers use content
                  negotiation to provide different representations of metadata
                  associated with DOIs.



                  A content negotiated request to a DOI resolver is much like a standard
                  HTTP request, except server-driven negotiation will take place based
                  on the list of acceptable content types a client provides.



                  Making a content negotiated request requires the use of a HTTP header, "Accept".




                  After @Kuba's comment this works



                  With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
                  URLRead[
                  HTTPRequest[
                  url
                  , <|
                  "Method" -> "GET",
                  "Headers" -> "Accept" -> "application/x-bibtex"
                  |>
                  ]
                  , "Body"
                  ]
                  ]


                  Mathematica graphics



                  Other content formats defined by crosscite.org are:




                  "RDF XML" -> "application/rdf+xml",
                  "RDF Turtle" -> "text/turtle",
                  "Citeproc JSON " -> "application/vnd.citationstyles.csl+json",
                  "Schema.org in JSON-LD " -> "application/vnd.schemaorg.ld+json",
                  "Formatted text citation " -> "text/x-bibliography",
                  "RIS " -> "application/x-research-info-systems",
                  "BibTeX " -> "application/x-bibtex",
                  "CrossRef Unixref XML " -> "application/vnd.crossref.unixref+xml",
                  "DataCite XML " -> "application/vnd.datacite.datacite+xml",
                  "ONIX for DOI " -> "application/vnd.medra.onixdoi+xml"







                  I wasn't aware of that capability, so my first approach (A bit convoluted) was to parse the HTML of the journal website.

                  With[url = URL["https://doi.org/10.1007/s00209-015-1612-7"],
                  Import[
                  Echo@StringJoin[
                  "https:",
                  First@Select[
                  ImportString[
                  URLRead[HTTPRequest[url], "Body"]
                  , "HTML", "Hyperlinks"
                  ], StringContainsQ[#, "format=bibtex"] &, 1]]
                  , "String"
                  ]
                  ]


                  This obviously will only work when the DOI link redirects to a journal website with a particular link structure. Notice that the BibTeX content is different.



                  Mathematica graphics







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jul 4 at 15:34

























                  answered Jul 4 at 12:47









                  rhermansrhermans

                  22.8k4 gold badges42 silver badges107 bronze badges




                  22.8k4 gold badges42 silver badges107 bronze badges























                      2












                      $begingroup$

                      request = 
                      HTTPRequest[
                      URL["https://doi.org/10.1007/s00209-015-1612-7"], <|
                      "Method" -> "GET",
                      "Headers" -> "Accept" -> "application/x-bibtex",
                      "ContentType" -> "application/x-bibtex"|>];

                      URLRead[request, "Body"]

                      (*
                      @articleBlasiak_2016,
                      doi = 10.1007/s00209-015-1612-7,
                      url = https://doi.org/10.1007%2Fs00209-015-1612-7,
                      year = 2016,
                      month = jan,
                      publisher = Springer Science and Business Media LLC,
                      volume = 283,
                      number = 1-2,
                      pages = 601--628,
                      author = Jonah Blasiak,
                      title = Haglund's conjecture on 3-column Macdonald polynomials,
                      journal = Mathematische Zeitschrift

                      *)

                      request =
                      HTTPRequest[
                      URL["https://doi.org/10.1090/s0002-9947-96-01558-9"], <|
                      "Method" -> "GET",
                      "Headers" -> "Accept" -> "application/x-bibtex",
                      "ContentType" -> "application/x-bibtex"|>];

                      URLRead[request, "Body"]
                      (*
                      @articleFomin_1996,
                      doi = 10.1090/s0002-9947-96-01558-9,
                      url = https://doi.org/10.1090%2Fs0002-9947-96-01558-9,
                      year = 1996,
                      month = sep,
                      publisher = American Mathematical Society (AMS),
                      volume = 348,
                      number = 09,
                      pages = 3591--3621,
                      author = Sergey Fomin and Anatol N. Kirillov,
                      journal = Transactions of the American Mathematical Society

                      * )





                      share|improve this answer









                      $endgroup$

















                        2












                        $begingroup$

                        request = 
                        HTTPRequest[
                        URL["https://doi.org/10.1007/s00209-015-1612-7"], <|
                        "Method" -> "GET",
                        "Headers" -> "Accept" -> "application/x-bibtex",
                        "ContentType" -> "application/x-bibtex"|>];

                        URLRead[request, "Body"]

                        (*
                        @articleBlasiak_2016,
                        doi = 10.1007/s00209-015-1612-7,
                        url = https://doi.org/10.1007%2Fs00209-015-1612-7,
                        year = 2016,
                        month = jan,
                        publisher = Springer Science and Business Media LLC,
                        volume = 283,
                        number = 1-2,
                        pages = 601--628,
                        author = Jonah Blasiak,
                        title = Haglund's conjecture on 3-column Macdonald polynomials,
                        journal = Mathematische Zeitschrift

                        *)

                        request =
                        HTTPRequest[
                        URL["https://doi.org/10.1090/s0002-9947-96-01558-9"], <|
                        "Method" -> "GET",
                        "Headers" -> "Accept" -> "application/x-bibtex",
                        "ContentType" -> "application/x-bibtex"|>];

                        URLRead[request, "Body"]
                        (*
                        @articleFomin_1996,
                        doi = 10.1090/s0002-9947-96-01558-9,
                        url = https://doi.org/10.1090%2Fs0002-9947-96-01558-9,
                        year = 1996,
                        month = sep,
                        publisher = American Mathematical Society (AMS),
                        volume = 348,
                        number = 09,
                        pages = 3591--3621,
                        author = Sergey Fomin and Anatol N. Kirillov,
                        journal = Transactions of the American Mathematical Society

                        * )





                        share|improve this answer









                        $endgroup$















                          2












                          2








                          2





                          $begingroup$

                          request = 
                          HTTPRequest[
                          URL["https://doi.org/10.1007/s00209-015-1612-7"], <|
                          "Method" -> "GET",
                          "Headers" -> "Accept" -> "application/x-bibtex",
                          "ContentType" -> "application/x-bibtex"|>];

                          URLRead[request, "Body"]

                          (*
                          @articleBlasiak_2016,
                          doi = 10.1007/s00209-015-1612-7,
                          url = https://doi.org/10.1007%2Fs00209-015-1612-7,
                          year = 2016,
                          month = jan,
                          publisher = Springer Science and Business Media LLC,
                          volume = 283,
                          number = 1-2,
                          pages = 601--628,
                          author = Jonah Blasiak,
                          title = Haglund's conjecture on 3-column Macdonald polynomials,
                          journal = Mathematische Zeitschrift

                          *)

                          request =
                          HTTPRequest[
                          URL["https://doi.org/10.1090/s0002-9947-96-01558-9"], <|
                          "Method" -> "GET",
                          "Headers" -> "Accept" -> "application/x-bibtex",
                          "ContentType" -> "application/x-bibtex"|>];

                          URLRead[request, "Body"]
                          (*
                          @articleFomin_1996,
                          doi = 10.1090/s0002-9947-96-01558-9,
                          url = https://doi.org/10.1090%2Fs0002-9947-96-01558-9,
                          year = 1996,
                          month = sep,
                          publisher = American Mathematical Society (AMS),
                          volume = 348,
                          number = 09,
                          pages = 3591--3621,
                          author = Sergey Fomin and Anatol N. Kirillov,
                          journal = Transactions of the American Mathematical Society

                          * )





                          share|improve this answer









                          $endgroup$



                          request = 
                          HTTPRequest[
                          URL["https://doi.org/10.1007/s00209-015-1612-7"], <|
                          "Method" -> "GET",
                          "Headers" -> "Accept" -> "application/x-bibtex",
                          "ContentType" -> "application/x-bibtex"|>];

                          URLRead[request, "Body"]

                          (*
                          @articleBlasiak_2016,
                          doi = 10.1007/s00209-015-1612-7,
                          url = https://doi.org/10.1007%2Fs00209-015-1612-7,
                          year = 2016,
                          month = jan,
                          publisher = Springer Science and Business Media LLC,
                          volume = 283,
                          number = 1-2,
                          pages = 601--628,
                          author = Jonah Blasiak,
                          title = Haglund's conjecture on 3-column Macdonald polynomials,
                          journal = Mathematische Zeitschrift

                          *)

                          request =
                          HTTPRequest[
                          URL["https://doi.org/10.1090/s0002-9947-96-01558-9"], <|
                          "Method" -> "GET",
                          "Headers" -> "Accept" -> "application/x-bibtex",
                          "ContentType" -> "application/x-bibtex"|>];

                          URLRead[request, "Body"]
                          (*
                          @articleFomin_1996,
                          doi = 10.1090/s0002-9947-96-01558-9,
                          url = https://doi.org/10.1090%2Fs0002-9947-96-01558-9,
                          year = 1996,
                          month = sep,
                          publisher = American Mathematical Society (AMS),
                          volume = 348,
                          number = 09,
                          pages = 3591--3621,
                          author = Sergey Fomin and Anatol N. Kirillov,
                          journal = Transactions of the American Mathematical Society

                          * )






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 4 at 13:29









                          Rohit NamjoshiRohit Namjoshi

                          2,0371 gold badge4 silver badges16 bronze badges




                          2,0371 gold badge4 silver badges16 bronze badges



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Mathematica Stack Exchange!


                              • 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.

                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201541%2faccept-header-in-http-request-for-doi-content-negotiation%23new-answer', 'question_page');

                              );

                              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







                              Popular posts from this blog

                              Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                              Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                              Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form