Get URL parameters through POST method and javascript
===

How would you extract the URL parameters in javascript through a POST method?

For example:
localhost:8080/file.html/a/30/b/40

a and b would be keys while
30 and 40 would be the values for those keys



Thanks in advance!