$RequesterAddress

$RequesterAddress

gives the IP address originating an HTTP request that initiated the current evaluation.

Details

  • If the current evaluation was not initiated by an HTTP request, $RequesterAddress is None.
  • $RequesterAddress is set not only for direct web calls, such as those through an API, but also for interactive sessions that occur in the Wolfram Cloud Platform.

Examples

Basic Examples  (1)

Deploy an API function that returns the requester address:

Get the address that originated this request:

Wolfram Research (2014), $RequesterAddress, Wolfram Language function, https://reference.wolfram.com/language/ref/$RequesterAddress.html.

Text

Wolfram Research (2014), $RequesterAddress, Wolfram Language function, https://reference.wolfram.com/language/ref/$RequesterAddress.html.

CMS

Wolfram Language. 2014. "$RequesterAddress." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$RequesterAddress.html.

APA

Wolfram Language. (2014). $RequesterAddress. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$RequesterAddress.html

BibTeX

@misc{reference.wolfram_2024_$requesteraddress, author="Wolfram Research", title="{$RequesterAddress}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/$RequesterAddress.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$requesteraddress, organization={Wolfram Research}, title={$RequesterAddress}, year={2014}, url={https://reference.wolfram.com/language/ref/$RequesterAddress.html}, note=[Accessed: 22-December-2024 ]}