Add assertion for http post