src/pds_doi_service/core/outputs/osti/osti_web_client.py
def endpoint_for_doi(self, doi):
        """
        Returns the proper HTTP verb and URL that form a request endpoint for
        the provided DOI object.

        Parameters
        ----------
        doi : Doi
            The DOI object to determine the endpoint for.

        Returns
        -------
        method : str
            The HTTP verb to use for the request.
        url: str
            The URL to use for the request.

        """
        config = self._config_util.get_config()

        # For OSTI, all requests use POST, and no tailoring of the URL is required.
        return WEB_METHOD_POST, config.get("OSTI", "url")

        Returns the proper HTTP verb and URL that form a request endpoint for
        the provided DOI object.

        Parameters
        ----------
        doi : Doi
            The DOI object to determine the endpoint for.

        Returns
        -------
        method : str
            The HTTP verb to use for the request.
        url: str
            The URL to use for the request.

        
Returns the proper HTTP verb and URL that form a request endpoint for
the provided DOI object.

Parameters

doi : Doi
The DOI object to determine the endpoint for.

Returns

method : str
The HTTP verb to use for the request.
url: str
The URL to use for the request.
Returns the proper HTTP verb and URL that form a request endpoint for the provided DOI object . Parameters doi : Doi The DOI object to determine the endpoint for . Returns method : str The HTTP verb to use for the request . url : str The URL to use for the request .
def endpoint_for_doi(self, doi):
        config = self._config_util.get_config()
        return WEB_METHOD_POST, config.get("OSTI", "url")
def endpoint_for_doi ( self , doi ) : config = self . _config_util . get_config ( ) return WEB_METHOD_POST , config . get ( "OSTI" , "url" )
Returns the proper HTTP verb and URL that form a request endpoint for
the provided DOI object.
Returns the proper HTTP verb and URL that form a request endpoint for the provided DOI object .
"""
        Returns the proper HTTP verb and URL that form a request endpoint for
        the provided DOI object.

        Parameters
        ----------
        doi : Doi
            The DOI object to determine the endpoint for.

        Returns
        -------
        method : str
            The HTTP verb to use for the request.
        url: str
            The URL to use for the request.

        """ # For OSTI, all requests use POST, and no tailoring of the URL is required.
self
doi