Skip to content

Commit dfc43c0

Browse files
committed
DOCs: Added debugging options section with info on using get_query_payload for astrometry_net
1 parent 56695bc commit dfc43c0

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/astrometry_net/astrometry_net.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,18 @@ There are two parameters that describe setting a license:
397397
other users. This can either be set to ``y``, ``n``, or ``d``, which
398398
uses the default license associated with the api key.
399399

400+
Debugging Options
401+
^^^^^^^^^^^^^^^^^
402+
403+
To inspect the data being sent to the server for debugging purposes without
404+
making a network call, you can use the following parameter:
405+
406+
``get_query_payload``
407+
If set to ``True``, returns the prepared query payload and does not send
408+
the request to the external server. No job is created and no solution is
409+
returned. This allows verification of parameters, source lists, or image
410+
headers before submitting an actual solve operation.
411+
400412
Reference/API
401413
=============
402414

0 commit comments

Comments
 (0)