谁知道我如何获得一个URL链接,将用户引导到搜索结果页面,就像我在表单中输入我的候选人编号并点击搜索一样?
https://www.axelos.com/successful-candidates-register
此网页在提交表单时使用AJAX获取数据。它不会重定向到新的URL。所以,简而言之,没有URL。
您可以尝试查询API来获取候选数据,确实具有特定的URL模式:https://fa-axelos-prod-ukw.azurewebsites.net/api/scr/?first_name={first_name}&surname={surname}&candidate_number={candidate_number}&numberPerPage=20&offset=0
(将{}
之间的变量替换为您选择的值)
示例:https://fa-axelos-prod-ukw.azurewebsites.net/api/scr/?first_name=John&surname=Doe&candidate_number=213123&numberPerPage=20&offset=0
在这个例子中,我使用John
作为first_name
,Smith
作为surname
,213123
作为candidate_number
。
注意:为了用这些值重新创建页面,你不能像使用普通URL那样共享API的URL。